#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <crtdbg.h>
#include <assert.h>
#include <string.h>

#include "QMLObject.h"
#include "QMLObject_r.h"





void main()
{
	FILE * inFile = NULL;
	struct HashList * test;
	struct QMLObject * test1;
	init_QMLObjectClass();

	test = new(HashList, 2567, 0, 0, "123");
	delete(test);

	inFile = fopen("test1.txt", "r");
	test1 = new(QMLObject, 10, NULL, "id width height color type");
	Parse(inFile, test1);
	Draw(test1);
	delete(test1);
	fclose(inFile);

	system("PAUSE");
	_CrtDumpMemoryLeaks();
}